package com.sumainfor.wx.tenant.controller.rentadviser;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.feign.Zfeign.ZpcGmioFeign;
import com.sumainfor.wx.tenant.feign.Zfeign.ZzuulFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.Map;

/**
 * 租客端调用网关相关
 */
@RestController
@RequestMapping("/rentadviser/RdWxZuul")
public class RdWxZuulController implements Serializable {
    @Autowired
    private ZzuulFeign zzuulFeign;

    /**
     * 根据公司编号查询公司所在市编号
     */
    @GetMapping("/getSysArea")
    public JsonResult getSysArea(@RequestParam Map<String, Object> params) {

        return zzuulFeign.getSysArea(params);
    }
}
